import request from "@/util/request";

export function getMedalByRecent(query: any) {
    return request({
        url: import.meta.env.VITE_WEB_API + '/medal/getMedalByRecent',
        method: 'post',
        data: query
    })
}

// 获取用户勋章
export function getUserMedalList(query: any) {
    return request({
        url: import.meta.env.VITE_WEB_API + '/medal/getUserMedalList',
        method: 'post',
        data: query
    })
}
